﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<StudentsGroup>" %>

<%
    using (Html.BeginRouteForm("Default", new {controller = "StudentsGroups", action = "Edit"}))
    {%>
<%:Html.HiddenFor(f => f.StudentsGroupId)%>
    <span>
        <%:Html.DropDownList("QualificationLevelId", (IEnumerable<SelectListItem>) ViewData["Levels"])%>
    </span>   
        <span class="smallgreentext">
            <%:Html.TextBoxFor(model => model.Name)%>
        </span>
    <div style="float: right">
        <input type="submit" value="OK" />
    </div>

<%
    }%>